﻿using System;
using Abp.Domain.Entities.Auditing;

namespace LeadThing.AbpZeroTemplate.WorkFlow_Runs
{
    /// <summary>
    /// 流程实例表
    /// </summary>
    public class WorkFlow_Run : FullAuditedEntity<long>
    {
        #region 属性

        /// <summary>
        /// 流程ID
        /// </summary>
        public int FlowID { get; set; }


        /// <summary>
        /// 关联业务实例ID
        /// </summary>
        public int DetailID { get; set; }


        /// <summary>
        /// 客户端IP
        /// </summary>
        public string IP { get; set; }


        /// <summary>
        /// 流转状态0流转中 1已办结
        /// </summary>
        public int Status { get; set; }


        /// <summary>
        /// 当前节点ID
        /// </summary>
        public string CurrentProessID { get; set; }


        /// <summary>
        /// 当前办理人
        /// </summary>
        public string CurrentUserID { get; set; }


        /// <summary>
        /// 当前办理状态状态 0为未接收（默认），1为办理中 ,2为已转交,3为已结束4为已打回
        /// </summary>
        public int CurrentStatus { get; set; }


        /// <summary>
        /// 当前状态名称
        /// </summary>
        public string CurrentStatusName { get; set; }


        /// <summary>
        /// 资源ID
        /// </summary>
        public string ResID { get; set; }


        /// <summary>
        /// 是否可用
        /// </summary>
        public bool DelTag { get; set; }

        


        #endregion
    }
}
